@isTest

private class CaseNationalOperationsTriggerTest {

	static testMethod void verifyCheckboxes() {
		ID ioRecordType = RecordTypeHelper.GetRecordTypeID('Case', 'National Ops - Insertion Order');
		Case c = new Case();
		
		c.RecordTypeID = ioRecordType;
		
		insert c;
		
		Case temp = [SELECT Keyed_in_AF_Checkbox__c, Future_Start__c, Released_Live__c from Case where ID = :c.ID];
		System.assertEquals(temp.Keyed_in_AF_Checkbox__c, false);
		System.assertEquals(temp.Future_Start__c, false);
		System.assertEquals(temp.Released_Live__c, false);
		
		c.Keyed_In_AF__c = Date.today();
		c.Future_Start_Date__c = Date.today();
		c.Released_Live_Date__c = Date.today();

		Test.startTest();
		update c;
		Test.stopTest();
		
		temp = [SELECT Keyed_in_AF_Checkbox__c, Future_Start__c, Released_Live__c from Case where ID = :c.ID];
		System.assertEquals(temp.Keyed_in_AF_Checkbox__c, true);
		System.assertEquals(temp.Future_Start__c, true);
		System.assertEquals(temp.Released_Live__c, true);
	}
}